home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypercrd / xcmds / dvlprstc.hqx / Developer Stack 1.3r / card_15869.txt < prev    next >
Encoding:
Text File  |  1991-04-30  |  17.5 KB  |  477 lines

  1. -- card: 15869 from stack: in.3r
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 15575
  5. -- name: 
  6. ----- HyperTalk script -----
  7. on opencard
  8.   hide menubar
  9.   set scroll of card field 1 to 0
  10. end opencard
  11.  
  12.  
  13.  
  14.  
  15.  
  16. -- part 3 (field)
  17. -- low flags: 00
  18. -- high flags: 2007
  19. -- rect: left=60 top=32 right=280 bottom=509
  20. -- title width / last selected line: 0
  21. -- icon id / first selected line: 0 / 0
  22. -- text alignment: 0
  23. -- font id: 3
  24. -- text size: 9
  25. -- style flags: 0
  26. -- line height: 14
  27. -- part name: The Facts
  28. ----- HyperTalk script -----
  29. on mousewithin
  30.   --
  31.   --
  32.   --hypertext technique by Steve Drazga, ART Incorporated
  33.   --if you use this in your scripts please include these 2 lines.
  34.   --
  35.   --
  36.   global selectedWord      --in case you want to use it somewhere else
  37.  
  38.   if the locktext of the target is true then   --unlock the field if
  39.     set locktext of target to false            --it is locked.
  40.   end if
  41.  
  42.   if selection is not empty then  --something was selected
  43.     put selection into SelectedWord
  44.  
  45.     if space is in SelectedWord then  --the user selected more than 1 word
  46.       click at loc of target       --so we will clear the selection
  47.       exit mousewithin             --and exit to wait for another selection
  48.     end if
  49.  
  50.     --
  51.     --this is the section where you do something with the selection
  52.     --
  53.     if field CrossRef contains selectedWord then       --check index field for word
  54.       set visible of card field selectedWord to true   --show linked field
  55.       wait until the mouseclick is true                --wait for click
  56.       set visible of card field selectedWord to false  --hide linked field
  57.     else
  58.       click at loc of target
  59.       play oops                                        --no link was found
  60.       answer "Do you see any asterisk there?!" with "Oooh"
  61.       exit mousewithin
  62.     end if
  63.     --
  64.     --
  65.     --
  66.   end if
  67. end mousewithin
  68.  
  69.  
  70. -- part 2 (field)
  71. -- low flags: 01
  72. -- high flags: 0004
  73. -- rect: left=90 top=5 right=28 bottom=467
  74. -- title width / last selected line: 0
  75. -- icon id / first selected line: 0 / 0
  76. -- text alignment: 1
  77. -- font id: 3
  78. -- text size: 14
  79. -- style flags: 256
  80. -- line height: 18
  81. -- part name: Name
  82.  
  83.  
  84. -- part 6 (field)
  85. -- low flags: 81
  86. -- high flags: 0004
  87. -- rect: left=46 top=27 right=65 bottom=276
  88. -- title width / last selected line: 0
  89. -- icon id / first selected line: 0 / 0
  90. -- text alignment: 0
  91. -- font id: 3
  92. -- text size: 12
  93. -- style flags: 0
  94. -- line height: 16
  95. -- part name: HyperCard
  96.  
  97.  
  98. -- part 7 (field)
  99. -- low flags: 81
  100. -- high flags: 0004
  101. -- rect: left=20 top=86 right=148 bottom=190
  102. -- title width / last selected line: 0
  103. -- icon id / first selected line: 0 / 0
  104. -- text alignment: 0
  105. -- font id: 3
  106. -- text size: 12
  107. -- style flags: 0
  108. -- line height: 16
  109. -- part name: XFCNs
  110.  
  111.  
  112. -- part 8 (field)
  113. -- low flags: 81
  114. -- high flags: 0004
  115. -- rect: left=27 top=80 right=144 bottom=229
  116. -- title width / last selected line: 0
  117. -- icon id / first selected line: 0 / 0
  118. -- text alignment: 0
  119. -- font id: 3
  120. -- text size: 12
  121. -- style flags: 0
  122. -- line height: 16
  123. -- part name: XCMDs
  124.  
  125.  
  126. -- part 9 (field)
  127. -- low flags: 81
  128. -- high flags: 0004
  129. -- rect: left=37 top=80 right=151 bottom=264
  130. -- title width / last selected line: 0
  131. -- icon id / first selected line: 0 / 0
  132. -- text alignment: 0
  133. -- font id: 3
  134. -- text size: 12
  135. -- style flags: 0
  136. -- line height: 16
  137. -- part name: Library
  138.  
  139.  
  140. -- part 10 (field)
  141. -- low flags: 81
  142. -- high flags: 0004
  143. -- rect: left=71 top=82 right=152 bottom=327
  144. -- title width / last selected line: 0
  145. -- icon id / first selected line: 0 / 0
  146. -- text alignment: 0
  147. -- font id: 3
  148. -- text size: 12
  149. -- style flags: 0
  150. -- line height: 16
  151. -- part name: updater
  152.  
  153.  
  154. -- part 11 (field)
  155. -- low flags: 81
  156. -- high flags: 0004
  157. -- rect: left=55 top=93 right=195 bottom=313
  158. -- title width / last selected line: 0
  159. -- icon id / first selected line: 0 / 0
  160. -- text alignment: 0
  161. -- font id: 3
  162. -- text size: 12
  163. -- style flags: 0
  164. -- line height: 16
  165. -- part name: Macintosh
  166.  
  167.  
  168. -- part 12 (field)
  169. -- low flags: 80
  170. -- high flags: 0004
  171. -- rect: left=44 top=71 right=140 bottom=275
  172. -- title width / last selected line: 0
  173. -- icon id / first selected line: 0 / 0
  174. -- text alignment: 0
  175. -- font id: 3
  176. -- text size: 12
  177. -- style flags: 0
  178. -- line height: 16
  179. -- part name: drazga
  180.  
  181.  
  182. -- part 13 (field)
  183. -- low flags: 81
  184. -- high flags: 0004
  185. -- rect: left=55 top=74 right=125 bottom=263
  186. -- title width / last selected line: 0
  187. -- icon id / first selected line: 0 / 0
  188. -- text alignment: 0
  189. -- font id: 3
  190. -- text size: 12
  191. -- style flags: 0
  192. -- line height: 16
  193. -- part name: $100,000
  194.  
  195.  
  196. -- part 14 (field)
  197. -- low flags: 80
  198. -- high flags: 0004
  199. -- rect: left=41 top=82 right=169 bottom=318
  200. -- title width / last selected line: 0
  201. -- icon id / first selected line: 0 / 0
  202. -- text alignment: 0
  203. -- font id: 3
  204. -- text size: 12
  205. -- style flags: 0
  206. -- line height: 16
  207. -- part name: resources
  208.  
  209.  
  210. -- part 15 (field)
  211. -- low flags: 80
  212. -- high flags: 0004
  213. -- rect: left=49 top=64 right=199 bottom=345
  214. -- title width / last selected line: 0
  215. -- icon id / first selected line: 0 / 0
  216. -- text alignment: 0
  217. -- font id: 3
  218. -- text size: 12
  219. -- style flags: 0
  220. -- line height: 16
  221. -- part name: three
  222.  
  223.  
  224. -- part 16 (field)
  225. -- low flags: 81
  226. -- high flags: 0004
  227. -- rect: left=53 top=64 right=198 bottom=399
  228. -- title width / last selected line: 0
  229. -- icon id / first selected line: 0 / 0
  230. -- text alignment: 0
  231. -- font id: 3
  232. -- text size: 12
  233. -- style flags: 0
  234. -- line height: 16
  235. -- part name: laughed
  236.  
  237.  
  238. -- part 17 (field)
  239. -- low flags: 80
  240. -- high flags: 0004
  241. -- rect: left=54 top=63 right=165 bottom=319
  242. -- title width / last selected line: 0
  243. -- icon id / first selected line: 0 / 0
  244. -- text alignment: 0
  245. -- font id: 3
  246. -- text size: 12
  247. -- style flags: 0
  248. -- line height: 16
  249. -- part name: AnalytX
  250.  
  251.  
  252. -- part 19 (field)
  253. -- low flags: 80
  254. -- high flags: 2004
  255. -- rect: left=134 top=91 right=249 bottom=401
  256. -- title width / last selected line: 0
  257. -- icon id / first selected line: 0 / 0
  258. -- text alignment: 0
  259. -- font id: 3
  260. -- text size: 12
  261. -- style flags: 0
  262. -- line height: 16
  263. -- part name: sources
  264.  
  265.  
  266. -- part 20 (field)
  267. -- low flags: 80
  268. -- high flags: 2004
  269. -- rect: left=96 top=106 right=227 bottom=369
  270. -- title width / last selected line: 0
  271. -- icon id / first selected line: 0 / 0
  272. -- text alignment: 0
  273. -- font id: 3
  274. -- text size: 12
  275. -- style flags: 0
  276. -- line height: 16
  277. -- part name: bugs
  278.  
  279.  
  280. -- part 21 (field)
  281. -- low flags: 80
  282. -- high flags: 2004
  283. -- rect: left=100 top=106 right=243 bottom=362
  284. -- title width / last selected line: 0
  285. -- icon id / first selected line: 0 / 0
  286. -- text alignment: 0
  287. -- font id: 3
  288. -- text size: 12
  289. -- style flags: 0
  290. -- line height: 16
  291. -- part name: overseas
  292.  
  293.  
  294. -- part contents for card part 3
  295. ----- text -----
  296. Developer Stack--
  297. Original Concept & Stack by Steve Drazga
  298. ┬⌐1988 AnalytX* Incorporated
  299. Individual contributions are credited individually.
  300.  
  301.                                A continuing resource for Hypercard* developers.
  302.  
  303.         ΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇó
  304.                  Words with an asterisk (*) link to additional or ancilliary information.   
  305.                                Double click on the word to access this information.
  306.         ΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇóΓÇó
  307.              
  308.  
  309.                                            ┬½┬½The purpose of this stack┬╗┬╗
  310.  
  311.      This stack is designed for anyone developing Hypercard stacks.  It includes public domain, freeware, and shareware XFCNs*, XCMDs*, HyperTalk functions and useful script segments.  It is a user supported effort and will constantly be growing.  The basic idea is to collect all the useful resources* a Hypercard developer needs into one place, making the development process much easier and faster.  This stack is designed as a learning tool.  Nothing is protected or hidden from the user.  Tear into the scripts until you understand what they do.  Play around with the XCMDs and XFCNs.
  312.  
  313.  
  314.  
  315.                                                   ┬½┬½How it works┬╗┬╗
  316.  
  317.      This copy of the stack you are reading is the main library* for all the information.  It is  distributed through electronic bulletin boards, users groups, and other public domain sources*.  About every 3 months it is updated to include all the latest resources, ideas & techniques that may be useful to a Hypercard developer.  
  318.  
  319.      You may add as many cards as you like to this stack without affecting its operation.  All the indexes will automatically be updated for you.  Just be certain not to rename or delete any of the backgrounds.  For a larger distribution of ideas, it would be better if you send new script segments, functions, XFCNS, & XCMDs to us for inclusion in stack updates.  Developer Stack has subscribers & supporters worldwide.
  320.  
  321.  
  322.  
  323.                                                 ┬½┬½What you have to do┬╗┬╗
  324.  
  325.      The only way this stack will succeed as a useful resource for developers is if everyone contributes.  It's easy to do, and you even get something in return.  If you have written any XFCNs, XCMDs, functions, scripts, or other HyperCard related items that you have found useful, send it to us (more details below).  In return, you will receive the latest version of the Developer Stack, and a warm feeling inside from  being a contributing member of the Macintosh* and Hypercard community.  Hypercard has made developers out of many people who would have never thought of programming efore.  Now the Developer Stack is here to make distribution of all the great new ideas and techniques simple.
  326.  
  327.  
  328.      If you use the Developer Stack in developing any stacks to be released, please include the following credit somewhere in the stack:
  329.  
  330. ΓÇóΓÇóΓÇó
  331. Developed with the aid of the Developer Stack.
  332. To receive the latest version of the Developer Stack, send $10.00 to:
  333. AnalytX 
  334. Box 388
  335. Southampton, PA  18966
  336. ΓÇóΓÇóΓÇó
  337.  
  338.  
  339.                                                      ┬½┬½Credits┬╗┬╗
  340.  
  341.      I have tried to give credit for everything included in the stack.  There are a few items that have gone without credit because I don't know where they originally came from.  If you recognize any of them, and can attribute them to the correct person, please let me know.  Anything sent for inclusion in the stack will be credited to the person who created it.  (You too can become famous and people will be able to talk about you behind your back, if you would only contribute.)
  342.  
  343.  
  344.                                                  ┬½┬½New issues┬╗┬╗
  345.  
  346.      With all the action going on in the Hypercard community we can all benefit from new ideas and resources*, collected into one place.    We will take contributions from any source with the following conditions:
  347.  
  348. 1) If you send something to be included in the stack, it should be debugged and ready to go.
  349. If it includes any scripts, they should be well commented, and have a header giving credit to yourself.  Shareware items will be included in the stack, with the appropriate notations.
  350.  
  351. 2) If you send something to be included in the stack, and want to receive the latest version of the Developer Stack, you MUST include a self-addressed stamped envelope.  If you don't, you won't get your disk back with the new Developer Stack issue.
  352.  
  353. 3) If you have any ideas or comments about the stack, and where it should go (future direction-wise, not physically), LET US KNOW!  Don't keep your ideas to yourself.  
  354. We would like to see this grow into a useful tool for ALL Hypercard users, not just the experts.  While this stack has been tested thoroughly, there still may be some bugs*.  If you find any PUHLEASE let us know. Send mail (USPS or electronic).
  355.  
  356. 4) We cannot guarantee that any specific contribution will be included in an update of the stack.  However, any that are included will be given full credit as to their original source.
  357.  
  358.  
  359.                                                 ┬½┬½How to reach us┬╗┬╗
  360.  
  361. US MAIL:
  362. Steve Drazga*
  363. AnalytX
  364. Box 388
  365. Southampton, PA  18966
  366. (215) 750-0792
  367.  
  368. GEnie:
  369. S.DRAZGA
  370.  
  371. Compuserve:
  372. 76530,1107
  373.  
  374.  
  375.                                   ┬½┬½What you should send as a contributor┬╗┬╗
  376.  
  377. 1) A disk with your contribution.  Since it probably won't fill up the entire disk, you can also include some stacks, sounds (love those digitized sounds), or any other neat programs you have.
  378.  
  379. 2) A self-addressed stamped envelope - if you want your disk returned with a copy of the latest update of the Developer Stack.
  380.  
  381. 3) A note telling me what Hypercard is in 15 words or less (HA!).
  382.  
  383. 4) $100,000* in small bills, or your suggestions for the continuing growth of this stack as a developers' tool, if you happen to be low on cash.
  384.  
  385.  
  386.  
  387.                                         ┬½┬½What if you just like to watch?┬╗┬╗
  388.  
  389. ΓÇóYou say you haven't got the hang of Hypercard yet.  
  390. ΓÇóYou don't think you have anything that would interest other HC users?  
  391. ΓÇóYou say you're still having trouble putting the disk in the right side up.  
  392. ΓÇóYou say you can't get the upgrades from a users group because you wouldn't want to belong to any group that would have you as a member.  
  393. ΓÇóMaybe you can't download the latest version because you think telecommunication is calling you mother-in-law.  
  394.  
  395.      No Problem.  You can get the latest version of the Developer Stack by sending $10 
  396. (US funds, please) to the address above.  Make sure you indicate what version you have so we don't send you a duplicate copy.  You can also subscribe to the Developer Stack for a year for just $35.  You will receive the next four issues of the Developer Stack.  Make all checks payable to AnalytX.  If you would like it shipped overseas*, please add $1.50 per issue as a bonus for our deserving postal employees.
  397.  
  398.     I will try to answer any questions you send in.  However, if you don't include a self addressed stamped envelope with your questions, don't expect an answer.
  399.  
  400.  
  401.  
  402.  
  403. -- part contents for card part 6
  404. ----- text -----
  405. Registered Trademark of Apple Computer.  (He made me say it, Ma!)
  406.  
  407. -- part contents for background part 2
  408. ----- text -----
  409. Hypercard,XFCNs,XCMDs,library,updater,resources,Macintosh,$100,000,Drazga,laughed,AnalytX,sources,bugs,overseas
  410.  
  411. -- part contents for card part 7
  412. ----- text -----
  413. External Function resources, used to extend the usefulness of HC.
  414.  
  415. -- part contents for card part 8
  416. ----- text -----
  417. External Command resources, used to extend the usefulness of HC.
  418.  
  419. -- part contents for card part 9
  420. ----- text -----
  421. Since it is a repository for alot of different types of information on HC, I call it a library.  Besides, who wrote this stack, anyway?
  422.  
  423. -- part contents for card part 10
  424. ----- text -----
  425. This is neat.  It will automatically copy all the new cards and resources into the right places in the Developers stack with just a click of a button.  
  426.  
  427. -- part contents for card part 11
  428. ----- text -----
  429. Registered trademark of Apple Computer.  Hey, wait a minute.  Angus Macintosh might have something to say about that.  (I wonder how that goes over in Scotland -- "Yeah, I just bought a Macintosh").
  430.  
  431. -- part contents for card part 12
  432. ----- text -----
  433. Steve Drazga...
  434. Wait a minute, isn't he the guy that is putting out the Developer stack?  What a sport!
  435.  
  436. -- part contents for card part 13
  437. ----- text -----
  438. American dollars or Japanese yen only.  None of that Canadian stuff, eh.
  439.  
  440. -- part contents for card part 14
  441. ----- text -----
  442. I'm not talking about the kind of resources you move with resedit.  I'm talking about the kind of resources you use to make life easier for yourself.  A remote control is this kind of a resource.
  443.  
  444. -- part contents for card part 15
  445. ----- text -----
  446. If lots of people send in their tricks and techniques, it may come out at two week intervals.  If everyone sits on their backsides staring at 9 point type on a computer screen like, for example, YOU, then it may come out only once a month or so.  The point is, there are lots of people doing lots of Hypercard programming.  We just have to get together.
  447.  
  448. -- part contents for card part 16
  449. ----- text -----
  450. "Ha!  You bought a Macintosh?!  Isn't that cute.  It's got a cute little screen.  It must be fun to play with.  And look at those cute little pictures.  I guess you have to be pretty stupid to need little pictures, huh..."
  451. Anybody who was part of the Macintosh front lines, in 1984 and 1985 remembers that.  Guess they finally realized that IBM users are just as stupid as Mac users, with PS/2 et al.
  452.  
  453. -- part contents for card part 17
  454. ----- text -----
  455. AnalytX is a Macintosh consulting & software development firm specializing in Hypercard applications & training.  For more information custom stacks, XCMDs, or other Macintosh consulting needs, give us a call at (215) 750-0792.
  456.  
  457. -- part contents for card part 2
  458. ----- text -----
  459. Innovative Hypercard Stackware
  460.  
  461. -- part contents for card part 19
  462. ----- text -----
  463. We can not guarantee future issues of Developer Stack will be distributed through 'freeware' channels.  To be assured of receiving information on new issues, make sure you are on our mailing list.  The only guaranteed method of getting the next issue is to order it directly ($10, cheap) or send a contribution to be included in the stack.
  464.  
  465. -- part contents for card part 20
  466. ----- text -----
  467. Definition - Bugs:
  468. 1) Unadvertised features.
  469. 2) Unimplemented future enhancements.
  470. 3) User oriented interface discrepancies.
  471. 4) Bugs? What bugs.
  472. 5) Microsoft Word 3.0
  473. 6) System 6.0
  474.  
  475. -- part contents for card part 21
  476. ----- text -----
  477. Just in case you are interested, we do consider Canada and Mexico to be overseas.  While technically they are part of the North American continent, our postal employees don't cross the border (too cold to walk up north, no decent water to drink down south) so you're stuck paying the extra $1.50 too.